 /**
 * 逻辑、功能相关描述: <br>
 *
 * @author 付湘辉  <br>
 * 编写日期：2008-7-28  <br>
 */
package com.ce.pms.customer.vo;

import java.util.Date;

import com.ce.pms.exception.BusinessException;
import com.sitechasia.webx.core.model.IViewObject;

/**
 * 	名称: com.ce.pms.customer.vo.ProRightVO <br>
 *
 *
 * @author  付湘辉  <br>
 * Created on： 2008-7-28 <br>
 * @author <br>
 * update on： <br>
 * why: <br>
 */
public class ProRightVO implements IViewObject {

	/**
	 * long：serialVersionUID
	 */
	private static final long serialVersionUID = 3201925261689118676L;

	/**
	 * 记帐策略(1分开记帐;0合并记帐)
	 */
	private String chargeSelect;
	/**
	 * 预售合同号
	 */
	private String contactNO;

	/**
	 * 创建者id
	 */
	private Long creator;

	/**
	 * 房屋id
	 */
	private Long houseId;
	/**
	 * 房号
	 */
	private String houseNumber;
	/**
	 * 修改者id
	 */
	private Long modifier;
	/**
	 * 修改日期
	 */
	private Date modifyDate;

	/**
	 * 产权id
	 */
	private Long proRightId;

	/**
	 * 产权证号
	 */
	private String proRightNO;

	/**
	 * 创建日期
	 */
	private Date sysDate;

	/**
	 * 生效状态(1表示生效;0表示失效)
	 */
	private String validity;
	/**
	 * 功能描述: 判断必填项是否有值 <br>
	 *
	 *
	 * Create author:付湘辉 <br>
	 * Create on:2008-7-28  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public void checkRequiredField(){
		if (this.houseId == null || this.creator == null) {
			throw new BusinessException("common:mustFill_null_exception",
					BusinessException.WARNING);
		}
	}
	/**
	 * @return the chargeSelect
	 */
	public String getChargeSelect() {
		return this.chargeSelect;
	}
	/**
	 * @return the contactNO
	 */
	public String getContactNO() {
		return this.contactNO;
	}
	/**
	 * @return the creator
	 */
	public Long getCreator() {
		return this.creator;
	}
	/**
	 * @return the houseId
	 */
	public Long getHouseId() {
		return this.houseId;
	}
	/**
	 * @return the houseNumber
	 */
	public String getHouseNumber() {
		return this.houseNumber;
	}
	/**
	 * @return the modifier
	 */
	public Long getModifier() {
		return this.modifier;
	}
	/**
	 * @return the modifyDate
	 */
	public Date getModifyDate() {
		return this.modifyDate;
	}

	/**
	 * @return the proRightId
	 */
	public Long getProRightId() {
		return this.proRightId;
	}
	/**
	 * @return the proRightNO
	 */
	public String getProRightNO() {
		return this.proRightNO;
	}
	/**
	 * @return the sysDate
	 */
	public Date getSysDate() {
		return this.sysDate;
	}
	/**
	 * @return the validity
	 */
	public String getValidity() {
		return this.validity;
	}
	/**
	 * @param chargeSelect the chargeSelect to set
	 */
	public void setChargeSelect(String chargeSelect) {
		this.chargeSelect = chargeSelect;
	}
	/**
	 * @param contactNO the contactNO to set
	 */
	public void setContactNO(String contactNO) {
		this.contactNO = contactNO;
	}

	/**
	 * @param creator the creator to set
	 */
	public void setCreator(Long creator) {
		this.creator = creator;
	}
	/**
	 * @param houseId the houseId to set
	 */
	public void setHouseId(Long houseId) {
		this.houseId = houseId;
	}
	/**
	 * @param houseNumber the houseNumber to set
	 */
	public void setHouseNumber(String houseNumber) {
		this.houseNumber = houseNumber;
	}
	/**
	 * @param modifier the modifier to set
	 */
	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}
	/**
	 * @param modifyDate the modifyDate to set
	 */
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	/**
	 * @param proRightId the proRightId to set
	 */
	public void setProRightId(Long proRightId) {
		this.proRightId = proRightId;
	}
	/**
	 * @param proRightNO the proRightNO to set
	 */
	public void setProRightNO(String proRightNO) {
		this.proRightNO = proRightNO;
	}
	/**
	 * @param sysDate the sysDate to set
	 */
	public void setSysDate(Date sysDate) {
		this.sysDate = sysDate;
	}
	/**
	 * @param validity the validity to set
	 */
	public void setValidity(String validity) {
		this.validity = validity;
	}
}
